package com.daifeng.authserver.feign;

import com.daifeng.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mall-third-party")
public interface SendCode {

    @RequestMapping("/sms/sendcode")
    R sendSms(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
